package Cn.Sarkar.MMS.DataBaseDefinations.Independent

import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.*
import Cn.Sarkar.MMS.DataBaseDefinations.Additional.Descriptions
import Cn.Sarkar.MMS.DataBaseDefinations.Additional.Names
import Cn.Sarkar.MMS.DataBaseDefinations.Independent.Wallet.MemberShipLevels
import Cn.Sarkar.Entities.Common.Table

object Applications : Table("Application") {
    override var Comment: String = "ئەپلەر"
    //    var Companys: MutableList<ICompany>
    val CompanyID = intColumn("CompanyID") reference Companies.ID comment "شىركەت"
    val NameID = intColumn("NameID") unsigned true notNull true reference Names.ID comment "ئىسمى"
    val DescriptionID = intColumn("DescriptionID") unsigned true notNull true reference Descriptions.ID comment "چۈشەندۈرۈش"
    //    var Accounts: MutableList<IAccount>
//    var Wallets: MutableList<IWallet>
//    var MemberShipLevels: MutableList<IMemberShipLevel>

    override val CATEGORY: Int = 2
}